command line 您所在的位置:网站首页 grub version 204 command line

command line

2023-05-25 01:58| 来源: 网络整理| 查看: 265

to find out what bootloader you're using, you have to look at the bootloader!

try dd if=/dev/sda bs=512 count=1 2> /dev/null | grep -q GRUB && echo "GRUB found"

All querying of installed packages, as described in the other answers, miss an important point: to probe your bootloader, look at the bootloader!

In other words, you can install whatever packages you like in whatever OS or distro you like, but none of this has anything to do with the bootloader you'll use when you reboot.

specifically, for MBR/msdos partitioned disks: probe the MBR (i.e. look at the bootloader to see what bootloader you're using)

This duplicate has some good answers: How do I find out which boot loader I have?

I like this more complete answer, found in a newer question: question: https://superuser.com/questions/466086/how-can-i-discover-which-bootloader-is-installed-where answer: https://superuser.com/a/466248



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有